Since I upgraded Node to version 16, I started noticing this when I build my Angular app.
DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at "...\node_modules\postcss\package.json".
Update this package.json to use a subpath pattern like "./*".
Is there a way to fix this without downgrading the Node version?
Regarding the GitHub issue, this one is recurrent one:
https://github.com/postcss/postcss/issues/1455#issuecomment-872240742
An update of postcss should do the job.
I was using node 16 switched back to 14 and it started working.
Solution:
C:\<xampp>\htdocs\<projName>\node_modules\tslib\package.json."./": "./" to "./": "./*".